<div class="row-fluid">
    <div class="table-header">
        Danh sách nhân viên
        <div class="pull-right">
            <a class="btn btn-small btn-success" href='<?php echo site_url("/employee/create")?>'>Thêm <i class="icon-arrow-right icon-on-right bigger-110"></i></a>
        </div>
    </div>
    <table id="table_report" class="table table-striped table-bordered table-hover dataTable">
        <thead>
            <tr>
                <th>Họ & tên</th>
                <th>Giới tính</th>
                <th>Email</th>
                <th>Địa chỉ</th>
                <th>Phone</th>
                <th>Phòng ban</th>
                <th></th>
            </tr>
        </thead>
        <tbody>
            <?php foreach ($lstEmployee as $e) {?>
                <tr>
                    <td><?php echo $e->Lastname .' '. $e->Midlename .' '.$e->Firstname  ?></td>
                    <td><?php echo (($e->Sex == 0) ? "Name" : "Nữ") ?></td>
                    <td><?php echo $e->Email ?></td>
                    <td><?php echo $e->Address ?></td>
                    <td><?php echo $e->Phone ?></td>
                    <td><?php echo $e->DepartmentName ?></td>
                    <td></td>
                </tr>
            <?php } ?>
        </tbody>

    </table>
</div>